package com.tiny.persistence.domain;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Data;

@Entity
@Table(name="qrcode")
@Data
public class Qrcode implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 5185026220253634380L;
	
	//序列号对应的ID
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	private int id;
	
	//设备序列号
	@Column(name="serialNumber")
	private String serialNumber;
	
}
